#include"noncopyable.h"
#include "../system/system_define.h"
#include<string>

class BaseServer:public NonCopyable
{
public:
    BaseServer() = default;
    virtual ~BaseServer() = default;
    //加载服务器配置
    virtual void LoadServerConfig(const std::string& _path) = 0;
    
public:
    const char* GetServerName()const{return srv_name;};
    ServerType GetServerType()const{return srv_type;};

protected:
    char srv_name[20];
    ServerType srv_type;
};